import request from '@/utils/request'

//
// export const getList = (query) => {
//     return request({
//         url: '/admin/store/store/list',
//         method: 'get',
//         params: query
//     })
// }

export const addSaleRoom = (data) => {
    return request({
        url: '/admin/store/store/addImage',
        method: 'POST',
        data
    })
}

export const updateSaleRoom = (data) => {
    return request({
        url: '/admin/store/store/editImage',
        method: 'POST',
        // headers: {"Content-Type":'multipart/form-data;'},
        data
    })
}

export const deleteSaleRoom = (data) => {
    return request({
        url: '/admin/store/store/removeImage',
        method: 'POST',
        data
    })
}
// export const getSaleRoom = (query) => {
//     return request({
//         url: '/admin/store/store/addImage',
//         method: 'get',
//         data
//     })
// }